package com.iter.devbox.activemq;

public class Client {

	public static void main(String[] args) {
		QueueProducer queueProducer = new QueueProducer();
		queueProducer.send();
		
		QueueConsumer queueConsumer = new QueueConsumer();
		queueConsumer.receive();
		
		//topic的消息，消费者要先启动
		TopicConsumer topicConsumer = new TopicConsumer();
		topicConsumer.receive();
		
		TopicProducer topicProducer = new TopicProducer();
		topicProducer.send();
	}
}